package com.example.sys.org.service.impl;

import com.example.core.service.impl.BaseServiceImpl;
import com.example.sys.org.dao.SysOrgRoleDao;
import com.example.sys.org.model.SysOrgRole;
import com.example.sys.org.service.SysOrgRoleService;
import org.springframework.stereotype.Service;


@Service
public class SysOrgRoleServiceImpl extends BaseServiceImpl<SysOrgRoleDao, SysOrgRole> implements SysOrgRoleService {
    @Override
    public SysOrgRole getRoleByCode(String roleCode) {
        return getBaseDao().getRoleByCode(roleCode);
    }
}
